﻿<UserControl x:Class="AutoLoL.Controls.MasteryEditorControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             Height="341" Width="546">
    <Grid>
        <DockPanel>
            <DockPanel.Background>
                <ImageBrush ImageSource="pack://siteoforigin:,,,/Data/Images/Misc/masteries.png" Stretch="Uniform" TileMode="None" />
            </DockPanel.Background>
            <ItemsControl ItemsSource="{Binding MasteryTreeControls}" Margin="0 5 0 0">
                <ItemsControl.ItemsPanel>
                    <ItemsPanelTemplate>
                        <StackPanel Orientation="Horizontal"></StackPanel>
                    </ItemsPanelTemplate>
                </ItemsControl.ItemsPanel>
            </ItemsControl>
        </DockPanel>
        <TextBlock FontSize="15" Foreground="White" Text="{Binding MasteryBuild.PointsAvailable}" HorizontalAlignment="Right" VerticalAlignment="Bottom" Margin="0 0 15 7" />
    </Grid>
</UserControl>
